package com.cskaoyan.bean;

import lombok.Data;

/**
 * @author stone
 * @date 2022/09/01 09:11
 */
@Data
public class BaseRespVo {
    String msg;
    int status;

    public static BaseRespVo ok() {
        BaseRespVo baseRespVo = new BaseRespVo();
        baseRespVo.setMsg("成功");
        baseRespVo.setStatus(200);
        return baseRespVo;
    }
    public static BaseRespVo ok(String msg) {
        BaseRespVo baseRespVo = new BaseRespVo();
        baseRespVo.setMsg(msg);
        baseRespVo.setStatus(200);
        return baseRespVo;
    }
}
